package com.yzh.luckydraw.infrastructure.dao;

import com.yzh.luckydraw.infrastructure.po.Award;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface IAwardDao {
    /**
     * 根据奖品ID查询奖品信息
     * @param awardId
     * @return
     */
    Award queryAwardInfo(String awardId);

    /**
     * 插入奖品配置
     * @param awardList
     */
    void insertList(List<Award> awardList);
}
